Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.ecm.platform.spreadsheet.layouts--widgets

This contribution is part of XML component org.nuxeo.ecm.platform.spreadsheet.layouts inside nuxeo-platform-spreadsheet-jsf-9.10.jar /OSGI-INF/layouts-contrib.xml

Extension Point

Extension point widgets of component WebLayoutManager.

Contributed Items

  • <widget name="listing_creator" type="singleUserSuggestion">
          <labels>
            <label mode="any">label.content.header.author</label>
          </labels>
          <fields>
            <field>data.dc.creator</field>
          </fields>
          <properties mode="any">
            <property name="userSuggestionSearchType">USER_TYPE</property>
            <property name="firstLabelField">firstName</property>
            <property name="secondLabelField">lastName</property>
            <property name="hideFirstLabel">true</property>
            <property name="hideSecondLabel">true</property>
            <property name="displayAction">edit</property>
            <property name="hideIcon">true</property>
          </properties>
        </widget>
  • <widget name="l10nsubjects_listing" type="suggestManyDirectory">
          <labels>
            <label mode="any">label.dublincore.subject</label>
          </labels>
          <helpLabels>
            <label mode="edit">label.dublincore.subjects.info</label>
          </helpLabels>
          <translated>true</translated>
          <fields>
            <field>data.dc.subjects</field>
          </fields>
          <properties mode="any">
            <property name="width">100%</property>
            <property name="dbl10n">true</property>
            <property name="minChars">0</property>
            <property name="hideHelpLabel">true</property>
            <property name="directoryName">l10nsubjects</property>
          </properties>
        </widget>

XML Source

<extension point="widgets" target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager">
    <widget name="listing_creator" type="singleUserSuggestion">
      <labels>
        <label mode="any">label.content.header.author</label>
      </labels>
      <fields>
        <field>data.dc.creator</field>
      </fields>
      <properties mode="any">
        <property name="userSuggestionSearchType">USER_TYPE</property>
        <property name="firstLabelField">firstName</property>
        <property name="secondLabelField">lastName</property>
        <property name="hideFirstLabel">true</property>
        <property name="hideSecondLabel">true</property>
        <property name="displayAction">edit</property>
        <property name="hideIcon">true</property>
      </properties>
    </widget>

    <widget name="l10nsubjects_listing" type="suggestManyDirectory">
      <labels>
        <label mode="any">label.dublincore.subject</label>
      </labels>
      <helpLabels>
        <label mode="edit">label.dublincore.subjects.info</label>
      </helpLabels>
      <translated>true</translated>
      <fields>
        <field>data.dc.subjects</field>
      </fields>
      <properties mode="any">
        <property name="width">100%</property>
        <property name="dbl10n">true</property>
        <property name="minChars">0</property>
        <property name="hideHelpLabel">true</property>
        <property name="directoryName">l10nsubjects</property>
      </properties>
    </widget>
  </extension>